  -- Harbinger Skyriss --
function spell0_20912(pUnit, Event) --@Complete Domination,n/a--
pUnit:FullCastSpellOnTarget(39019,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20912', 7000, 1)
end
function spell1_20912(pUnit, Event) --@Domination,n/a--
pUnit:FullCastSpellOnTarget(37162,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20912', 7000, 1)
end
function spell2_20912(pUnit, Event) --@Fear,n/a--
pUnit:FullCastSpellOnTarget(39415,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20912', 5500, 1)
end
function spell3_20912(pUnit, Event) --@Mana Burn,n/a--
pUnit:FullCastSpellOnTarget(39020,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20912', 2000, 1)
end
function spell4_20912(pUnit, Event) --@Mind Rend,n/a--
pUnit:FullCastSpellOnTarget(36924,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20912', 3000, 1)
end
function spell5_20912(pUnit, Event) --@Mind Rend,n/a--
pUnit:FullCastSpellOnTarget(39017,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20912', 3000, 1)
end
function Sorts_20912(pUnit, Event)
choix_sorts_20912 = math.random(0, 5)
if choix_sorts_20912 == 0 then
pUnit:RegisterEvent('spell0_20912', 1, 1)
end
if choix_sorts_20912 == 1 then
pUnit:RegisterEvent('spell1_20912', 1, 1)
end
if choix_sorts_20912 == 2 then
pUnit:RegisterEvent('spell2_20912', 1, 1)
end
if choix_sorts_20912 == 3 then
pUnit:RegisterEvent('spell3_20912', 1, 1)
end
if choix_sorts_20912 == 4 then
pUnit:RegisterEvent('spell4_20912', 1, 1)
end
if choix_sorts_20912 == 5 then
pUnit:RegisterEvent('spell5_20912', 1, 1)
end
end
function mob20912_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20912', math.random(1500, 3000), 1)
end
function mob20912_Leave(pUnit, Event)
end
function mob20912_Kill(pUnit, Event)
end
function mob20912_Die(pUnit, Event)
pUnit:RemoveEvents();
end
RegisterUnitEvent(20912, 1, 'mob20912_Action')
RegisterUnitEvent(20912, 2, 'mob20912_Leave')
RegisterUnitEvent(20912, 3, 'mob20912_Kill')
RegisterUnitEvent(20912, 4, 'mob20912_Die')
